package com.jcgyl.export.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.jcgyl.export.entity.Tborderhead;

public interface TborderheadDao {

	List<Tborderhead> findObject(@Param("orderid") String orderid, @Param("batchnumber") String batchnumber,
			@Param("expressnumber") String expressnumber,@Param("starttime") String starttime, @Param("endtime") String endtime,
			 @Param("startIndex") Integer startIndex,@Param("pageSize") Integer pageSize);

	Integer getRowCount(@Param("orderid") String orderid, @Param("batchnumber") String batchnumber,
			@Param("expressnumber") String expressnumber,@Param("starttime") String starttime, @Param("endtime") String endtime);

	Tborderhead findOrderheadByOrderId(@Param("orderid") String orderid);

	void batchInsert(@Param("orderheads") List<Tborderhead> orders);
}